//
//  UtilsManager.m
//  Codingke2016
//
//  Created by xujiangtao on 16/6/1.
//  Copyright © 2016年 xujiangtao. All rights reserved.
//

#import "UtilsManager.h"
#import "LoginViewController.h"
#import "BaseLoginNavController.h"

@implementation UtilsManager
+ (void)loginInViewController:(UIViewController *)viewController completion:(void (^)())completion{
    LoginViewController* loginVC = [[LoginViewController alloc] init];
    BaseLoginNavController* navigation = [[BaseLoginNavController alloc] initWithRootViewController:loginVC];
    
    [viewController presentViewController:navigation animated:YES completion:^{
        if (completion != nil) {
            completion();
        }
    }];
}
@end
